/* ═══════════════════════════════════════════════════════
   Nuance — Subpage styles (Privacy, Support)
   ═══════════════════════════════════════════════════════ */

/* ── Subpage hero ── */
.subpage-hero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
}

.subpage-hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(224, 136, 104, 0.14) 0%,
    rgba(184, 144, 192, 0.08) 40%,
    transparent 75%);
  filter: blur(60px);
  pointer-events: none;
}

.subpage-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.subpage-hero-inner h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  margin-bottom: 20px;
}

.subpage-hero-inner .lede {
  margin: 0 auto;
  max-width: 56ch;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px 8px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 32px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.back-link:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--surface-elevated);
}

.subpage-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.subpage-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Prose (privacy policy long-form) ── */
.prose {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 32px 100px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 64px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 36px 0 12px;
}

.prose p {
  margin-bottom: 16px;
  text-wrap: pretty;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 136, 104, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.prose a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent-pressed);
}

.prose ul {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* ── Tables ── */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.prose table th,
.prose table td {
  text-align: left;
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.55;
}
.prose table th {
  background: var(--surface-elevated);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
}
.prose table td {
  border-bottom: 1px solid var(--border);
}
.prose table tr:last-child td { border-bottom: none; }
.prose table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

@media (max-width: 600px) {
  .prose { padding: 0 24px 80px; font-size: 15.5px; }
  .prose table { font-size: 14px; }
  .prose table th, .prose table td { padding: 12px 14px; }
}

/* ── Support: contact card ── */
.contact-card {
  max-width: 720px;
  margin: 20px auto 80px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg,
    rgba(224, 136, 104, 0.10) 0%,
    rgba(184, 144, 192, 0.06) 60%,
    rgba(107, 90, 144, 0.04) 100%);
  border: 1px solid rgba(224, 136, 104, 0.25);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 0% 50%,
    rgba(224, 136, 104, 0.12), transparent 60%);
  pointer-events: none;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-pressed));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px -8px rgba(224, 136, 104, 0.45);
}

.contact-card-text { position: relative; z-index: 1; }
.contact-card-text h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}
.contact-card-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-card .btn-primary {
  position: relative;
  z-index: 1;
  font-size: 14px;
  padding: 12px 20px;
}

@media (max-width: 720px) {
  .contact-card {
    margin: 12px 24px 60px;
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }
  .contact-card .btn-primary { justify-self: start; }
}

/* ── FAQ (subpage layout overrides) ──
   Note: shared FAQ visuals (`.faq-item`, `.faq-item-toggle`, `.faq-item-body`)
   live in styles.css so they can be reused on home (index.html) and support.
   Only support-specific layout (centered narrow column, header/category) stays here. */
.faq.faq-subpage {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px 120px;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.faq-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.faq-category {
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-category:last-child { margin-bottom: 0; }

.faq-category-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

@media (max-width: 600px) {
  .faq.faq-subpage { padding: 20px 24px 80px; }
}
