:root {
  --brand: #16337a;
  --brand-strong: #10265d;
  --brand-light: #eef2ff;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #f5f7fb;
  --success: #166534;
  --success-bg: #f0fdf4;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: #fff;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
}

.brand .logo {
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand .sub {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.nav-links a {
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  font-weight: 600;
}

.btn-login {
  border-radius: 6px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 500;
  padding: 8px 18px;
}

.btn-login:hover {
  background: #1d4494;
}

.page-head {
  padding: 56px 0;
  background: linear-gradient(160deg, var(--brand), #2a5ab8);
  color: #fff;
  text-align: center;
}

.page-head h1 {
  font-size: 32px;
  letter-spacing: 1px;
}

.page-head p {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: .84;
}

footer {
  padding: 40px 0;
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-inner .col {
  max-width: 480px;
}

.footer-inner .col h3 {
  margin-bottom: 10px;
  color: #e2e8f0;
  font-size: 14px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.footer-inner .col p {
  margin-bottom: 6px;
}

.footer-inner a:hover,
.footer-bottom a:hover {
  color: #e2e8f0;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  text-align: center;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-inner {
  height: auto;
  min-height: 64px;
}

.nav-links {
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links .support-link {
  color: var(--brand);
  font-weight: 600;
}

.btn-login {
  white-space: nowrap;
}

.support-feature {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-top: 1px solid #e0e7ff;
  border-bottom: 1px solid #e0e7ff;
}

.support-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.support-feature h2 {
  color: var(--ink);
  font-size: 26px;
  margin-bottom: 10px;
}

.support-feature p {
  color: var(--text);
  max-width: 720px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-brand,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.btn-brand {
  background: var(--brand);
  color: #fff;
}

.btn-brand:hover {
  background: var(--brand-strong);
}

.btn-outline {
  border: 1px solid #c7d2fe;
  background: #fff;
  color: var(--brand);
}

.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}

.page-main {
  padding: 60px 0 72px;
}

.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 32px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: var(--success-bg);
  color: #14532d;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px #dcfce7;
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead {
  max-width: 780px;
  color: var(--text);
  font-size: 17px;
}

.section-heading {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 23px;
}

.support-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.support-card,
.policy-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}

.support-card .card-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.support-card h2,
.support-card h3,
.policy-card h2,
.policy-card h3 {
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 8px;
}

.support-card p,
.policy-card p,
.policy-card li,
.info-panel p,
.info-panel li {
  color: var(--text);
  font-size: 15px;
}

.support-card a,
.policy-card a,
.info-panel a,
.content-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #c7d2fe;
  text-underline-offset: 3px;
}

.support-card a:hover,
.policy-card a:hover,
.info-panel a:hover,
.content-link:hover {
  text-decoration-color: var(--brand);
}

.section-block {
  margin-top: 48px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.check-list,
.plain-list,
.policy-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li,
.policy-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 24px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.plain-list li::before,
.policy-list li::before {
  content: "•";
  position: absolute;
  left: 7px;
  color: var(--brand);
  font-weight: 700;
}

.notice-box {
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--brand-light);
  color: var(--text);
}

.notice-box strong {
  color: var(--ink);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 16px 2px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.faq-list details p {
  margin-top: 10px;
  color: var(--text);
  font-size: 15px;
}

.english-summary {
  padding: 28px;
  border-radius: var(--radius);
  background: #0f172a;
  color: #e2e8f0;
}

.english-summary h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 21px;
}

.english-summary p,
.english-summary li {
  color: #cbd5e1;
  font-size: 15px;
}

.english-summary a {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.policy-content {
  max-width: 860px;
}

.policy-content section {
  padding: 0;
  margin-top: 42px;
}

.policy-content h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 22px;
}

.policy-content h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.policy-content p,
.policy-content li {
  color: var(--text);
  font-size: 15px;
}

.policy-content p + p {
  margin-top: 12px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.contact-support-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  background: var(--brand-light);
}

.contact-support-box h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 20px;
}

.contact-support-box p {
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    gap: 20px;
    padding: 4px 0 2px;
  }

  .support-feature-inner,
  .contact-support-box {
    grid-template-columns: 1fr;
  }

  .support-grid,
  .policy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand .logo {
    font-size: 20px;
  }

  .btn-login {
    padding: 7px 13px;
  }

  .page-head {
    padding: 42px 0;
  }

  .page-head h1 {
    font-size: 27px;
  }

  .page-main {
    padding: 40px 0 56px;
  }

  .support-grid,
  .policy-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .support-card,
  .policy-card,
  .info-panel {
    padding: 20px;
  }

  .section-block {
    margin-top: 38px;
  }

  .support-feature h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
