/* Inner pages: legal template, FAQ, support. Header and footer styles live in home.css. */

.home-wishu .nav-links a[aria-current="page"],
.home-wishu .nav-row[aria-current="page"] { color: var(--ink); }

.page-band {
  background: var(--bg-soft);
  padding: 72px 0 56px;
}
.home-wishu .page-band h1 {
  margin: 10px 0 0;
  max-width: 14em;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.page-date {
  display: inline-flex;
  margin: 20px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.page-body { background: #FFFFFF; padding: 64px 0 120px; }
.page-grid {
  display: grid;
  grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}
.help-center { position: sticky; top: 104px; }
.help-more-title { display: none; margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.help-kicker {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.help-kicker:first-child,
.help-more-title + .help-kicker { margin-top: 0; }
.help-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.help-row svg { width: 22px; height: 22px; flex: none; color: var(--ink); }
.help-row span { display: flex; flex-direction: column; min-width: 0; }
.help-row b { font-size: 15px; font-weight: 500; color: var(--ink); }
.help-row small { font-size: 13px; font-weight: 400; color: var(--muted); }
.help-row .chev { margin-left: auto; color: var(--muted-2); font-size: 16px; line-height: 1; }
.help-row[aria-current="page"] {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px 12px;
  border-bottom-color: transparent;
}
.help-row[aria-current="page"] svg,
.help-row[aria-current="page"] b { color: var(--primary); }

.doc { max-width: 44rem; }
.doc > p,
.doc li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.doc > p { margin: 0 0 16px; }
.home-wishu .doc h2 {
  margin: 48px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  scroll-margin-top: 100px;
}
.doc ul { margin: 0 0 16px; padding: 0; list-style: none; }
.doc li { position: relative; margin: 0 0 10px; padding-left: 18px; }
.doc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.doc a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--primary-deep); }
.doc-caps {
  margin: 0 0 16px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--field);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.doc-contact {
  margin: 28px 0 0;
  padding: 8px 28px;
  border-radius: 24px;
  background: var(--bg-soft);
}
.doc-contact div {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.doc-contact div:last-child { border-bottom: 0; }
.doc-contact dt { font-size: 13px; font-weight: 500; color: var(--muted); }
.doc-contact dd { margin: 0; font-size: 16px; font-weight: 500; font-style: normal; color: var(--ink); line-height: 1.45; }
.doc-contact a { color: var(--ink); text-decoration: none; }
.doc-contact a:hover { color: var(--primary); }

/* ==== FAQ ================================================================ */

.faq-band { padding-bottom: 40px; }
.faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
}
.home-wishu .faq-band h1,
.home-wishu .support-band h1 {
  margin: 8px 0 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.faq-lead,
.support-lead {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
.faq-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}
.faq-visual .wu-ill { width: min(100%, 340px); height: auto; }
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.chip {
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: #FFFFFF;
  color: var(--ink);
  font: 500 15px/1 var(--font);
  cursor: pointer;
}
.chip[aria-pressed="true"] { border-color: var(--ink); }
.chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.faq-list-wrap { padding: 56px 0 40px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  color: var(--ink);
}
.faq-list details[open] summary { color: var(--primary); }
.faq-list details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-list details[open] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.faq-a a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 32px 36px;
  border-radius: 28px;
  background: var(--primary);
  color: #FFFFFF;
}
.home-wishu .faq-cta h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #FFFFFF;
}
.faq-cta p { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.home-wishu .btn-on-red {
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 16px;
  flex: none;
}
.home-wishu .btn-on-red:hover { background: var(--field); color: var(--ink); }

/* ==== Support ============================================================ */

.support-band { padding-bottom: 80px; }
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-card {
  margin-top: 32px;
  padding: 8px 24px;
  border-radius: 24px;
  background: #FFFFFF;
}
.contact-card div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card div:last-child { border-bottom: 0; }
.contact-card svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--ink); }
.contact-card small { display: block; font-size: 13px; color: var(--muted); }
.contact-card b { display: block; margin-top: 2px; font-size: 16px; font-weight: 500; }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--primary); }
.form-card {
  padding: 36px;
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: 0 24px 60px -24px rgba(7, 7, 7, .18);
}
.form-card form,
.form-fields { display: grid; gap: 12px; }
.form-card form[hidden] { display: none; }
.field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 12px 18px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--field);
}
.field-area { min-height: 160px; align-items: stretch; }
.field span { font-size: 12px; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: 400 17px/1.4 var(--font);
  color: var(--ink);
  resize: vertical;
}
.field textarea { min-height: 96px; }
.field:focus-within { background: #FFFFFF; border-color: var(--ink); }
.field.is-error { border-color: var(--primary); background: #FFFFFF; }
.field-error { margin: -4px 0 0; font-size: 13px; color: var(--primary); }
.field-error[hidden] { display: none; }
.topic-label { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips .chip { background: var(--field); }
.topic-chips .chip[aria-pressed="true"] { background: #FFFFFF; border-color: var(--ink); }
.field-note { margin: 0; font-size: 13px; color: var(--muted); }
.home-wishu .form-card .btn-primary { width: 100%; }
.form-sent { text-align: center; padding: 12px 8px 4px; }
.form-sent[hidden] { display: none; }
.sent-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
}
.sent-mark svg { width: 26px; height: 26px; }
.home-wishu .form-sent h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.form-sent p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.form-sent a { color: var(--primary); }
.sent-reset {
  border: 0;
  background: none;
  padding: 0;
  font: 500 15px/1 var(--font);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.guide-wrap { padding: 72px 0 120px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 28px;
  background: var(--bg-soft);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease;
}
a.guide-card:hover { transform: translateY(-4px); }
.guide-ill {
  position: relative;
  height: 150px;
  display: grid;
  place-items: center;
}
.guide-ill .wu-ill { width: min(100%, 240px); height: auto; }
.guide-body {
  flex: 1;
  padding: 20px 22px;
  border-radius: 20px;
  background: #FFFFFF;
}
.home-wishu .guide-body h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.guide-body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

@media (max-width: 860px) {
  .page-band { padding: 40px 0 32px; }
  .home-wishu .page-band h1,
  .home-wishu .faq-band h1,
  .home-wishu .support-band h1 { font-size: 36px; }
  .page-body { padding: 40px 0 72px; }
  .page-grid { display: flex; flex-direction: column; gap: 36px; }
  .help-center { position: static; order: 2; }
  .doc { order: 1; }
  .help-more-title { display: block; }
  .doc > p,
  .doc li { font-size: 16px; }
  .faq-hero,
  .support-grid,
  .guide-grid { display: block; }
  .faq-visual { display: none; }
  .faq-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -24px;
    padding-right: 24px;
    scrollbar-width: none;
  }
  .faq-filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .faq-cta { flex-direction: column; align-items: stretch; padding: 28px 24px; }
  .home-wishu .btn-on-red { width: 100%; }
  .support-band { padding-bottom: 48px; }
  .contact-card { margin-bottom: 28px; }
  .form-card { padding: 24px 20px; }
  .guide-wrap { padding: 48px 0 72px; }
  .guide-card + .guide-card { margin-top: 16px; }
  .guide-ill { height: 110px; }
  .guide-ill .wu-ill { width: min(100%, 190px); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-a,
  .guide-card { transition: none; }
  a.guide-card:hover { transform: none; }
}

@media print {
  .nav,
  .nav-panel,
  .footer,
  .help-center { display: none !important; }
  .page-band,
  .page-body,
  .doc-contact,
  .doc-caps { background: none !important; }
  .home-wishu,
  .doc,
  .doc p,
  .doc li,
  .doc h1,
  .doc h2 { color: #000 !important; }
  .doc,
  .doc p,
  .doc li { font-size: 11pt; }
  .doc a { color: #000 !important; }
}
