:root {
      --theme: #0B3D91;
      --theme-dark: #082b66;
      --ink: #172033;
      --muted: #647089;
      --line: #e4e8ef;
      --paper: #f5f7fb;
      --white: #ffffff;
      --gold: #c99632;
      --danger: #b33a3a;
      --radius: 8px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
      line-height: 1.7;
    }

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

    img {
      max-width: 100%;
      display: block;
    }

    button {
      font: inherit;
    }

    .container {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      color: #dbe7fb;
      background: #071b3b;
      font-size: 13px;
    }

    .topbar .container {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .topbar a {
      margin-left: 20px;
      color: #dbe7fb;
    }

    .header {
      position: relative;
      z-index: 20;
      background: var(--white);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
      gap: 10px;
      color: var(--theme-dark);
      font-size: 19px;
      font-weight: 800;
      white-space: nowrap;
    }

    .logo img {
      width: 38px;
      height: 38px;
      object-fit: contain;
    }

    .main-nav {
      flex: 1;
      align-self: stretch;
    }

    .nav-list {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav-item {
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      min-height: 42px;
      padding: 8px 12px;
      color: #303b50;
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
      color: var(--theme);
    }

    .has-arrow::after {
      content: "";
      width: 6px;
      height: 6px;
      margin: 0 0 3px 8px;
      border-right: 1px solid currentColor;
      border-bottom: 1px solid currentColor;
      transform: rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      width: 300px;
      padding: 20px;
      visibility: hidden;
      opacity: 0;
      transform: translate(-50%, 8px);
      background: var(--white);
      border: 1px solid var(--line);
      border-top: 3px solid var(--theme);
      box-shadow: 0 18px 45px rgba(14, 35, 70, .14);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .mega-menu {
      width: min(720px, 80vw);
    }

    .dropdown-panel::before,
    .mega-menu::before {
      content: "";
      position: absolute;
      top: -14px;
      left: 0;
      right: 0;
      height: 14px;
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      visibility: visible;
      opacity: 1;
      transform: translate(-50%, 0);
    }

    .mega-title {
      margin: 0 0 12px;
      color: var(--theme-dark);
      font-size: 13px;
      font-weight: 800;
    }

    .dropdown-panel > a:not(.mega-footer),
    .mega-links a {
      display: block;
      padding: 7px 0;
      color: #4a5870;
      border-bottom: 1px solid #eef1f5;
      font-size: 13px;
    }

    .dropdown-panel > a:hover,
    .mega-links a:hover,
    .mega-card:hover strong {
      color: var(--theme);
    }

    .mega-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .mega-card {
      min-width: 0;
      padding: 10px;
      background: #f7f9fc;
      border: 1px solid #e8edf4;
      border-radius: 6px;
    }

    .mega-card img {
      width: 100%;
      height: 58px;
      margin-bottom: 7px;
      object-fit: cover;
      border-radius: 4px;
    }

    .mega-card strong,
    .mega-card small {
      display: block;
      overflow: hidden;
    }

    .mega-card strong {
      color: #26334b;
      font-size: 12px;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .mega-card small {
      margin-top: 3px;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.45;
    }

    .mega-footer {
      display: inline-block;
      margin-top: 14px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
    }

    .member-link,
    .open-account {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 6px 13px;
      border-radius: 5px;
      font-size: 13px;
      font-weight: 700;
    }

    .member-link {
      color: var(--theme);
      border: 1px solid #cbd8ec;
    }

    .open-account {
      color: var(--white);
      background: var(--theme);
    }

    .member-link:hover,
    .open-account:hover {
      background: var(--theme-dark);
      color: var(--white);
    }

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      padding: 9px;
      border: 1px solid var(--line);
      background: var(--white);
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      margin: 4px auto;
      background: var(--theme-dark);
      transition: transform .2s ease, opacity .2s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 30;
      visibility: hidden;
      opacity: 0;
      background: rgba(5, 16, 35, .52);
      transition: opacity .2s ease, visibility .2s ease;
    }

    .drawer-overlay.open {
      visibility: visible;
      opacity: 1;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 31;
      width: min(360px, 88vw);
      overflow-y: auto;
      visibility: hidden;
      transform: translateX(100%);
      background: var(--white);
      box-shadow: -18px 0 45px rgba(7, 27, 59, .18);
      transition: transform .25s ease, visibility .25s ease;
    }

    .mobile-drawer.open {
      visibility: visible;
      transform: translateX(0);
    }

    .drawer-head {
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 20px;
      color: var(--white);
      background: var(--theme-dark);
      font-weight: 700;
    }

    .drawer-head a {
      margin-left: auto;
      color: #f4cd70;
    }

    .drawer-close {
      width: 34px;
      height: 34px;
      color: var(--white);
      border: 1px solid rgba(255,255,255,.4);
      background: transparent;
      cursor: pointer;
      font-size: 22px;
      line-height: 1;
    }

    .drawer-menu {
      padding: 12px 20px 30px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      display: block;
      padding: 14px 0;
      color: #26334b;
      border: 0;
      border-bottom: 1px solid var(--line);
      background: transparent;
      text-align: left;
      font-size: 15px;
      cursor: pointer;
    }

    .drawer-toggle::after {
      content: "+";
      float: right;
      color: var(--theme);
      font-size: 18px;
    }

    .drawer-toggle.active::after {
      content: "−";
    }

    .drawer-submenu {
      display: none;
      padding: 5px 0 8px 14px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-submenu.open {
      display: block;
    }

    .drawer-submenu a {
      display: block;
      padding: 8px 0;
      color: var(--muted);
      font-size: 13px;
    }

    .footer {
      padding: 54px 0 20px;
      color: #c9d4e8;
      background: #0b1b35;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
      gap: 34px;
    }

    .footer h3,
    .footer h4 {
      margin: 0 0 15px;
      color: var(--white);
    }

    .footer h3 {
      font-size: 20px;
    }

    .footer h4 {
      font-size: 14px;
    }

    .footer p {
      margin: 0 0 12px;
      color: #aebbd0;
      font-size: 13px;
    }

    .footer-grid > div:not(.footer-brand) a {
      display: block;
      margin: 5px 0;
      color: #c9d4e8;
      font-size: 13px;
    }

    .footer-grid a:hover {
      color: #f4cd70;
    }

    .social-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .social-links a {
      color: #f4cd70;
      font-size: 13px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 38px;
      padding-top: 18px;
      color: #8f9eb7;
      border-top: 1px solid rgba(255,255,255,.13);
      font-size: 12px;
    }

    .download-page-main {
      padding-bottom: 90px;
    }

    .download-hero {
      padding: 76px 0 62px;
      color: var(--white);
      background:
        linear-gradient(135deg, rgba(11,61,145,.97), rgba(7,27,59,.98)),
        radial-gradient(circle at 80% 20%, rgba(201,150,50,.28), transparent 34%);
    }

    .download-hero .eyebrow {
      margin: 0 0 12px;
      color: #f4cd70;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 2px;
    }

    .download-hero h1 {
      max-width: 760px;
      margin: 0 0 16px;
      font-size: clamp(32px, 5vw, 60px);
      line-height: 1.2;
    }

    .download-hero p {
      max-width: 680px;
      margin: 0;
      color: #dbe7fb;
      font-size: 16px;
    }

    .download-content {
      margin-top: -32px;
    }

    .download-panel {
      padding: 34px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 14px 34px rgba(17, 39, 76, .08);
    }

    .download-panel h2,
    .download-section h2 {
      margin: 0 0 10px;
      color: var(--theme-dark);
      font-size: 26px;
    }

    .section-intro {
      margin: 0 0 25px;
      color: var(--muted);
      font-size: 14px;
    }

    .download-options {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .download-option {
      display: flex;
      min-height: 190px;
      flex-direction: column;
      padding: 22px;
      border: 1px solid #dce4f0;
      border-top: 4px solid var(--theme);
      border-radius: 6px;
      background: #fbfcfe;
    }

    .download-option h3 {
      margin: 0 0 8px;
      color: var(--ink);
      font-size: 18px;
    }

    .download-option p {
      flex: 1;
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 13px;
    }

    .download-button,
    .secondary-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 8px 16px;
      border-radius: 5px;
      font-size: 13px;
      font-weight: 700;
    }

    .download-button {
      color: var(--white);
      background: var(--theme);
    }

    .download-button:hover {
      background: var(--theme-dark);
    }

    .secondary-button {
      color: var(--theme);
      border: 1px solid #cbd8ec;
      background: var(--white);
    }

    .download-section {
      padding-top: 64px;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      counter-reset: steps;
    }

    .step {
      position: relative;
      min-height: 170px;
      padding: 18px 22px 18px 58px;
      border-top: 2px solid #cbd8ec;
    }

    .step::before {
      counter-increment: steps;
      content: counter(steps);
      position: absolute;
      top: -19px;
      left: 20px;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      color: var(--white);
      background: var(--gold);
      border: 5px solid var(--paper);
      border-radius: 50%;
      font-size: 13px;
      font-weight: 800;
    }

    .step h3 {
      margin: 0 0 8px;
      color: var(--theme-dark);
      font-size: 16px;
    }

    .step p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .download-faq {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .faq-item {
      padding: 20px 22px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 6px;
    }

    .faq-item h3 {
      margin: 0 0 7px;
      color: var(--ink);
      font-size: 15px;
    }

    .faq-item p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .notice {
      margin-top: 24px;
      padding: 16px 18px;
      color: #704d16;
      background: #fff8e8;
      border-left: 4px solid var(--gold);
      font-size: 13px;
    }

    @media (max-width: 980px) {
      .main-nav {
        display: none;
      }

      .header-btns {
        margin-left: auto;
      }

      .hamburger {
        display: block;
      }

      .download-options,
      .steps {
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 28px, 1180px);
      }

      .topbar .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
      }

      .topbar a {
        margin: 0 14px 0 0;
      }

      .header-inner {
        min-height: 68px;
        gap: 10px;
      }

      .member-link {
        display: none;
      }

      .logo {
        font-size: 16px;
      }

      .logo img {
        width: 32px;
        height: 32px;
      }

      .download-hero {
        padding: 52px 0 60px;
      }

      .download-hero h1 {
        font-size: 36px;
      }

      .download-hero p {
        font-size: 14px;
      }

      .download-panel {
        padding: 22px 18px;
      }

      .download-options,
      .steps,
      .download-faq,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .steps {
        gap: 12px;
      }

      .step {
        min-height: 0;
        padding: 18px 18px 18px 58px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--white);
      }

      .step::before {
        top: 18px;
        left: 14px;
        border-color: var(--white);
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
      }
    }