/* =============================================================
   Tomoshibi - support.css (Support page)
   Extends pages.css
   ============================================================= */

/* ===== Support page body ===== */
.support-body {
  padding-top: 80px;
  padding-bottom: 60px;
}

/* ===== Header ===== */
.support-header {
  padding: 48px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.support-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--prose);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.support-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

/* ===== Sections ===== */
.support-section {
  padding: 0;
  margin-bottom: 20px;
}

h2.support-section-title {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  color: var(--prose);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}

h3.support-section-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(215, 185, 145, 0.1);
}

/* ===== Section divider ===== */
.support-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 28px 0;
}

/* ===== Prose ===== */
.support-prose {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.support-prose p {
  margin-bottom: 6px;
}

.support-prose p:last-child {
  margin-bottom: 0;
}

.support-prose strong {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Note ===== */
.support-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 24px;
}

.support-note a {
  color: var(--text-dim);
}

.support-note a:hover {
  color: var(--accent);
}

/* ===== Contact block ===== */
.support-contact {
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(215, 185, 145, 0.04);
  border-left: 2px solid var(--accent-dim);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.support-contact a {
  color: var(--accent);
}

/* ===== Cross-links ===== */
.support-nav {
  display: flex;
  gap: 24px;
  padding-top: 40px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.support-nav a {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.support-nav a:hover {
  color: var(--accent);
}

/* ===== Nav ===== */
.page-nav {
  background: linear-gradient(to bottom, rgba(10,9,12,0.95) 40%, transparent);
  padding: 20px 32px;
}

.nav-flame {
  width: 20px;
  height: 20px;
  vertical-align: -3px;
  margin-right: 6px;
}

.lang-toggle {
  display: inline-flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 3px;
}

.lang-toggle button {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-toggle button.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* ===== Japanese typesetting ===== */
[lang="ja"] .support-prose {
  font-feature-settings: "halt";
  text-wrap: pretty;
  word-break: auto-phrase;
  line-height: 1.8;
}

[lang="ja"] .support-title {
  font-feature-settings: "palt";
}

[lang="ja"] h2.support-section-title {
  font-feature-settings: "halt";
  letter-spacing: 0.05em;
}

[lang="ja"] h3.support-section-title {
  font-feature-settings: "halt";
  letter-spacing: 0.05em;
}

[lang="ja"] .support-intro {
  font-feature-settings: "halt";
  text-wrap: pretty;
  word-break: auto-phrase;
  line-height: 1.8;
}

/* ===== Language system ===== */
[lang="ja"] .en { display: none; }
[lang="en"] .ja { display: none; }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .support-header {
    padding: 40px 0 20px;
    margin-bottom: 24px;
  }

  .support-section {
    margin-bottom: 16px;
  }

  .support-divider {
    margin: 24px 0;
  }

  .support-nav {
    flex-direction: column;
    gap: 12px;
  }

  .page-nav {
    padding: 16px 20px;
  }
}
