:root {
  --blue: #1b6dff;
  --blue-2: #4c8dff;
  --blue-dark: #0b3ea8;
  --navy: #07111f;
  --navy-2: #0c1a2e;
  --card: #102033;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #9bb0c7;
  --gold: #e2b84a;
  --bg: #f4f7fb;
  --ink: #152033;
  --ink-soft: #4a5d73;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(7, 17, 31, 0.12);
  --max: 1180px;
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 1000;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-size: 18px;
  letter-spacing: 0.5px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.25s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: #d7e3f2;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(27, 109, 255, 0.18);
}

.nav-cta {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--line);
}

.btn-light {
  background: #fff;
  color: var(--blue-dark);
}

.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(27, 109, 255, 0.28), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0c1d36 100%);
  color: var(--text);
  padding: 48px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

.hero p {
  color: #c5d4e6;
  margin: 0 0 22px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: #d7e3f2;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.hero-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.section {
  padding: 56px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.35;
}

.lead {
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 820px;
}

.card-grid,
.partner-grid,
.logo-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.partner-grid {
  grid-template-columns: repeat(4, 1fr);
}

.logo-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.card,
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.card-body,
.panel {
  padding: 20px;
}

.card h3,
.panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p,
.panel p {
  margin: 0;
  color: var(--ink-soft);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.toc a {
  background: #eaf1fb;
  color: var(--blue-dark);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.prose h2,
.prose h3 {
  scroll-margin-top: 96px;
}

.prose p,
.prose li {
  color: #2a3b50;
}

.prose ul,
.prose ol {
  padding-left: 20px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.num {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.table-wrap {
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e7eef6;
}

th {
  background: #edf4ff;
  color: var(--blue-dark);
}

.faq details {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.page-hero {
  background: linear-gradient(180deg, #07111f, #10233d);
  color: #fff;
  padding: 42px 0;
}

.page-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 38px);
}

.crumbs {
  color: #9bb0c7;
  font-size: 13px;
}

.crumbs a {
  color: #cfe0f5;
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.auth-card {
  background: #0d1b30;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(7, 17, 31, 0.2);
}

.auth-card h2 {
  margin: 0 0 8px;
}

.auth-card p {
  color: #adc0d6;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #d5e3f3;
}

.field input {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #081525;
  color: #fff;
  padding: 0 12px;
}

.field-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #adc0d6;
  margin: 8px 0 16px;
}

.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #adc0d6;
  font-size: 13px;
  margin: 8px 0 16px;
}

.form-msg {
  min-height: 22px;
  color: var(--gold);
  font-size: 13px;
}

.partner-item,
.logo-item {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.partner-item img,
.logo-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.logo-item img {
  height: 52px;
}

.partner-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related a {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.related a strong {
  display: block;
  color: var(--blue-dark);
}

.error-box {
  max-width: 680px;
  margin: 48px auto;
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.site-footer {
  background: #07111f;
  color: #c5d4e6;
  padding: 42px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 16px;
}

.site-footer a {
  color: #c5d4e6;
  display: block;
  margin: 6px 0;
}

.copyright {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 13px;
  color: #8ea3ba;
}

.overlay {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .auth-layout,
  .footer-grid,
  .card-grid,
  .feature-grid,
  .related {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-toggle {
    display: block;
    z-index: 70;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: #07111f;
    flex-direction: column;
    align-items: stretch;
    padding: 88px 20px 24px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .nav-cta {
    flex-direction: column;
    margin: 12px 0 0;
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 45;
  }

  .overlay.show {
    display: block;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.ads-bar {
  background: #fff;
  border-bottom: 1px solid #e6eef7;
  padding: 12px 0 10px;
  position: relative;
  z-index: 20;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 6px;
  background: transparent;
  margin: 0;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  box-sizing: border-box;
}

#ads figure {
  margin: 0;
}

#ads img {
  width: 65px;
  height: 65px;
  max-width: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

#ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

#ads figcaption,
#ads .caption {
  height: 18px;
  margin-top: 6px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-visual img {
    height: 220px;
  }

  .partner-item img {
    height: 120px;
  }

  #ads {
    justify-content: space-around;
  }

  #ads > div {
    width: 70px;
  }
}
