/* ============================================================
   小胖毛 — Shared sub-page styles
   (about / faq / contact / privacy / terms / status)
   Loads after styles.css.
   ============================================================ */

/* ---- page hero (light, editorial) ---- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); text-align: center; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 52% 72% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  pointer-events: none;
}
.page-hero-inner { max-width: 700px; margin: 0 auto; padding: clamp(48px, 7vw, 90px) clamp(20px, 4vw, 32px) clamp(40px, 5vw, 58px); position: relative; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5.4vw, 3.8rem); color: var(--ink); line-height: 1.08; margin: 18px 0 18px; letter-spacing: -0.015em; }
.page-hero .sub { font-size: 15.5px; color: var(--ink-soft); line-height: 1.85; max-width: 540px; margin: 0 auto; }

/* ---- content shell ---- */
.page-wrap { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.page-wrap.narrow { max-width: 720px; }
.pg-section { padding: clamp(48px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.pg-section:last-of-type { border-bottom: none; }
.pg-section .eyebrow { margin-bottom: 14px; }
.pg-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); line-height: 1.2; margin-bottom: 26px; letter-spacing: -0.01em; }

/* ---- prose ---- */
.prose p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.95; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 800; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.prose a:hover { color: var(--accent); }
.prose .highlight {
  background: var(--accent-wash); border-left: 3px solid var(--accent);
  padding: 16px 20px; border-radius: 0 12px 12px 0;
  font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.6;
  color: var(--accent-ink); margin: 22px 0;
}

/* ---- legal prose (privacy / terms) ---- */
.legal-head { padding-top: clamp(40px, 5vw, 60px); }
.legal-title { font-family: var(--serif); font-style: italic; font-size: clamp(2.1rem, 5vw, 3rem); color: var(--ink); margin-bottom: 10px; }
.legal-meta { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.03em; margin-bottom: 8px; }
.legal { padding-bottom: 80px; }
.legal h2 {
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ink);
  margin: 40px 0 12px; display: flex; align-items: baseline; gap: 12px;
}
.legal h2::before { content: ''; flex: 0 0 22px; height: 2px; background: var(--accent); transform: translateY(-7px); }
.legal p { font-size: 15px; color: var(--ink-soft); line-height: 1.95; margin-bottom: 12px; }
.legal ul { margin: 8px 0 14px; padding-left: 4px; list-style: none; }
.legal li { font-size: 15px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 8px; padding-left: 24px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.legal strong { color: var(--ink); font-weight: 800; }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.legal a:hover { color: var(--accent); }
.legal .divider { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---- value cards (about) ---- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 20px); }
.vcard { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.vnum { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-deep); margin-bottom: 16px; }
.vcard h3 { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); margin-bottom: 9px; }
.vcard p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }

/* ---- mini cat team (about) ---- */
.mini-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 20px); }
.mtcard { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.mtcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mtcard-portrait { width: 116px; height: 116px; margin: 0 auto 14px; border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.mtp-mao { background: radial-gradient(circle at 50% 40%, #dcebf6, #c4ddee); }
.mtp-caramel { background: radial-gradient(circle at 50% 40%, #f7e7d6, #f0dcc4); }
.mtp-latte { background: radial-gradient(circle at 50% 40%, #efe6da, #e2d2bd); }
.mtcard-portrait img { width: 104px; height: 104px; object-fit: contain; }
.mtcard h3 { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); }
.mtcard .role { display: inline-block; margin: 9px 0 12px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-wash); padding: 4px 11px; border-radius: 999px; }
.mtcard p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

/* ---- tool rows (about) ---- */
.tool-rows { display: flex; flex-direction: column; gap: 14px; }
.trow { display: flex; align-items: center; gap: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .2s; }
.trow:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--accent); }
.ti { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.ti svg { width: 21px; height: 21px; }
.ti-moment { background: linear-gradient(150deg, #3a2415, #6b4226); }
.ti-mbti   { background: linear-gradient(150deg, var(--accent), var(--accent-deep)); }
.ti-memo   { background: linear-gradient(150deg, #9bb083, var(--sage)); }
.ti-manual { background: linear-gradient(150deg, #88aac6, var(--sky)); }
.ti-bake   { background: linear-gradient(150deg, #d18254, var(--clay)); }
.trow-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.trow-name { display: block; font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--ink); margin-bottom: 4px; }
.trow-desc { display: block; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.trow-go { color: var(--ink-mute); flex-shrink: 0; }
.trow-go svg { width: 18px; height: 18px; }

/* ---- contact cards ---- */
.ccard { display: flex; align-items: flex-start; gap: 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.ccard-ico { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(150deg, var(--accent), var(--accent-deep)); }
.ccard-ico.ig { background: linear-gradient(150deg, #88aac6, var(--sky)); }
.ccard-ico svg { width: 24px; height: 24px; }
.ccard-label { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px; }
.ccard h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.ccard p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.note { display: flex; align-items: center; gap: 14px; background: var(--accent-wash); border-radius: var(--r); padding: 18px 22px; margin-top: 22px; }
.note-ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--accent); }
.note-ico svg { width: 19px; height: 19px; }
.note p { font-size: 14px; color: var(--accent-ink); line-height: 1.7; margin: 0; }
.note strong { color: var(--accent-deep); }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.topic { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.topic-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent-deep); background: var(--accent-wash); margin-bottom: 12px; }
.topic-ico svg { width: 18px; height: 18px; }
.topic h3 { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.topic p { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }

/* ---- faq accordion ---- */
.tool-faq-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 2px solid var(--accent-wash); }
.tool-faq-head .ti { width: 46px; height: 46px; }
.tool-faq-head h2 { font-family: var(--serif); font-style: italic; font-size: 1.55rem; color: var(--ink); line-height: 1.1; }
.tool-faq-head a { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); text-decoration: none; letter-spacing: 0.03em; }
.tool-faq-head a:hover { color: var(--accent-deep); }
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-family: inherit; }
.faq-q-text { font-size: 15.5px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.faq-chev { flex-shrink: 0; margin-top: 2px; color: var(--accent-deep); transition: transform .3s; }
.faq-chev svg { width: 18px; height: 18px; display: block; }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 22px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }
.faq-a-inner strong { color: var(--ink); font-weight: 800; }
.faq-a-inner a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.pg-block-title { font-family: var(--serif); font-style: italic; font-size: 1.55rem; color: var(--ink); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 2px solid var(--accent-wash); }

/* ---- cta card ---- */
.cta-card { background: var(--ink); border-radius: var(--r-lg); padding: 44px 40px; text-align: center; margin: 56px 0 80px; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 36%, transparent), transparent 70%); }
.cta-card h2 { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--paper-3); margin-bottom: 12px; position: relative; }
.cta-card p { font-size: 14px; color: rgba(247,232,210,0.6); line-height: 1.75; margin-bottom: 24px; position: relative; }
.cta-card .btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---- status page ---- */
.status-grid { display: grid; gap: 12px; max-width: 660px; margin: 0 auto; }
.scard { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: var(--shadow-sm); }
.scard-left { flex: 1; min-width: 0; }
.scard-name { font-weight: 800; font-size: 15px; color: var(--ink); }
.scard-url { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); margin-top: 2px; }
.scard-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-top: 8px; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.badge { font-family: var(--mono); font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge-version { background: var(--accent-wash); color: var(--accent-ink); }
.badge-commit { background: #DEE9F1; color: #2E4759; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-ok { background: var(--sage); }
.dot-error { background: #C0432F; }
.dot-loading { background: var(--ink-mute); animation: pulse 1.2s infinite; }
.status-updated { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-top: 22px; }

@media (max-width: 640px) {
  .nav-link { display: none; }
  .mini-team { grid-template-columns: 1fr; }
  .ccard { flex-direction: column; gap: 14px; }
  .legal h2::before { display: none; }
}
