:root {
      --theme: #0B3D91;
      --ink: #172033;
      --muted: #647084;
      --line: #dfe5ee;
      --surface: #ffffff;
      --soft: #f4f7fb;
      --blue-soft: #eaf1fb;
      --shadow: 0 16px 40px rgba(21, 43, 77, .08);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #f7f9fc;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button, a { -webkit-tap-highlight-color: transparent; }
    .container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

    .topbar {
      background: #101c32;
      color: #d8e1f0;
      font-size: 13px;
    }
    .topbar-inner {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 18px;
    }
    .topbar a { color: #d8e1f0; }
    .topbar a:hover { color: #fff; }

    .header {
      position: relative;
      z-index: 20;
      background: rgba(255,255,255,.97);
      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;
      gap: 10px;
      min-width: 170px;
      color: #10213e;
      font-weight: 800;
      letter-spacing: .02em;
    }
    .logo img {
      width: 34px;
      height: 34px;
      object-fit: contain;
    }
    .main-nav { margin-left: auto; }
    .nav-list {
      display: flex;
      align-items: center;
      gap: 4px;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .nav-item { position: relative; }
    .nav-link {
      display: inline-flex;
      align-items: center;
      min-height: 76px;
      padding: 0 13px;
      color: #3d485a;
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
    }
    .nav-link:hover,
    .nav-item:focus-within > .nav-link { color: var(--theme); }
    .has-arrow::after {
      content: "";
      width: 6px;
      height: 6px;
      margin: -3px 0 0 8px;
      border-right: 1px solid currentColor;
      border-bottom: 1px solid currentColor;
      transform: rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: calc(100% - 1px);
      left: 50%;
      width: 320px;
      padding: 22px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      transform: translate(-50%, 8px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }
    .mega-menu { width: 650px; }
    .dropdown-panel::before,
    .mega-menu::before {
      content: "";
      position: absolute;
      top: -12px;
      left: 0;
      right: 0;
      height: 12px;
    }
    .nav-item:hover > .dropdown-panel,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, 0);
    }
    .panel-title,
    .mega-block h3 {
      margin: 0 0 13px;
      color: #132b52;
      font-size: 15px;
    }
    .panel-list {
      display: grid;
      gap: 9px;
    }
    .panel-list a {
      color: #536176;
      font-size: 13px;
    }
    .panel-list a:hover,
    .mega-footer:hover { color: var(--theme); }
    .mega-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
    .mega-block {
      min-width: 0;
    }
    .mega-block p {
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 13px;
    }
    .mega-footer {
      display: inline-block;
      margin-top: 16px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }
    .broker-mini,
    .video-mini,
    .tool-mini,
    .product-mini {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
      border-bottom: 1px solid #edf0f5;
    }
    .broker-mini img,
    .video-mini img,
    .tool-mini img,
    .product-mini img {
      width: 34px;
      height: 34px;
      flex: 0 0 34px;
      object-fit: cover;
      border-radius: 6px;
      background: var(--blue-soft);
    }
    .broker-mini span,
    .video-mini span,
    .tool-mini span,
    .product-mini span {
      min-width: 0;
      display: grid;
      gap: 1px;
    }
    .broker-mini strong,
    .video-mini strong,
    .tool-mini strong,
    .product-mini strong {
      overflow: hidden;
      color: #27374f;
      font-size: 12px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .broker-mini small,
    .video-mini small,
    .tool-mini small,
    .product-mini small {
      overflow: hidden;
      color: var(--muted);
      font-size: 11px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .member-link {
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }
    .open-account {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 16px;
      color: #fff;
      background: var(--theme);
      border-radius: 5px;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }
    .open-account:hover { background: #082f70; }

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 5px;
      background: #fff;
      cursor: pointer;
    }
    .hamburger span {
      display: block;
      height: 2px;
      margin: 4px 0;
      background: var(--ink);
      transition: transform .2s ease, opacity .2s ease;
    }
    .hamburger.active span:first-child { transform: translateY(6px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:last-child { transform: translateY(-6px) rotate(-45deg); }

    .drawer-overlay {
      position: fixed;
      z-index: 40;
      inset: 0;
      background: rgba(10, 21, 39, .42);
      opacity: 0;
      visibility: hidden;
      transition: opacity .2s ease, visibility .2s ease;
    }
    .drawer-overlay.open {
      opacity: 1;
      visibility: visible;
    }
    .mobile-drawer {
      position: fixed;
      z-index: 50;
      top: 0;
      right: 0;
      width: min(390px, 88vw);
      height: 100vh;
      overflow-y: auto;
      background: #fff;
      box-shadow: -14px 0 40px rgba(15, 35, 69, .18);
      transform: translateX(105%);
      transition: transform .25s ease;
    }
    .mobile-drawer.open { transform: translateX(0); }
    .drawer-head {
      display: flex;
      align-items: center;
      gap: 13px;
      min-height: 72px;
      padding: 0 22px;
      border-bottom: 1px solid var(--line);
      color: var(--theme);
      font-weight: 800;
    }
    .drawer-head > span { flex: 1; }
    .drawer-head a {
      color: var(--theme);
      font-size: 13px;
    }
    .drawer-close {
      width: 34px;
      height: 34px;
      border: 0;
      background: transparent;
      color: #5a6574;
      font-size: 27px;
      line-height: 1;
      cursor: pointer;
    }
    .drawer-menu { padding: 12px 22px 30px; }
    .drawer-link,
    .drawer-toggle {
      display: flex;
      align-items: center;
      width: 100%;
      min-height: 48px;
      border: 0;
      border-bottom: 1px solid #edf0f5;
      background: transparent;
      color: #27374f;
      font: inherit;
      font-size: 14px;
      text-align: left;
      cursor: pointer;
    }
    .drawer-toggle::after {
      content: "+";
      margin-left: auto;
      color: var(--theme);
      font-size: 20px;
      font-weight: 400;
    }
    .drawer-toggle.active::after { content: "−"; }
    .drawer-submenu {
      display: none;
      padding: 7px 0 7px 16px;
      border-bottom: 1px solid #edf0f5;
    }
    .drawer-submenu.open { display: grid; }
    .drawer-submenu a {
      padding: 7px 0;
      color: var(--muted);
      font-size: 13px;
    }

    .download-page-main {
      padding: 72px 0 88px;
    }
    .download-intro {
      max-width: 760px;
      margin: 0 auto 42px;
      text-align: center;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      color: var(--theme);
      background: var(--blue-soft);
      border: 1px solid #cddcf2;
      border-radius: 3px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .04em;
    }
    .download-intro h1 {
      margin: 16px 0 12px;
      color: #122746;
      font-size: clamp(32px, 5vw, 54px);
      line-height: 1.15;
      letter-spacing: 0;
    }
    .download-intro p {
      max-width: 620px;
      margin: 0 auto;
      color: var(--muted);
      font-size: 16px;
    }
    .download-primary {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 22px;
      align-items: stretch;
      margin-bottom: 58px;
    }
    .download-panel {
      padding: 30px;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      border-radius: 7px;
    }
    .download-panel h2 {
      margin: 0 0 12px;
      color: #142c50;
      font-size: 23px;
    }
    .download-panel p {
      margin: 0 0 20px;
      color: var(--muted);
      font-size: 14px;
    }
    .download-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 46px;
      padding: 0 20px;
      border-radius: 5px;
      background: var(--theme);
      color: #fff;
      font-size: 14px;
      font-weight: 800;
    }
    .download-button::before {
      content: "↓";
      font-size: 19px;
      line-height: 1;
    }
    .download-button:hover { background: #082f70; }
    .download-note {
      margin-top: 14px !important;
      color: #778398 !important;
      font-size: 12px !important;
    }
    .release-box {
      padding: 18px;
      background: var(--soft);
      border: 1px solid #e5ebf3;
      border-radius: 5px;
    }
    .release-box strong {
      display: block;
      margin-bottom: 6px;
      color: #263b5b;
      font-size: 14px;
    }
    .release-box span {
      color: var(--muted);
      font-size: 13px;
    }
    .download-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 58px;
    }
    .step {
      position: relative;
      padding: 24px 22px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 6px;
    }
    .step-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      margin-bottom: 16px;
      border-radius: 50%;
      background: var(--theme);
      color: #fff;
      font-size: 13px;
      font-weight: 800;
    }
    .step h3 {
      margin: 0 0 7px;
      color: #1d3558;
      font-size: 17px;
    }
    .step p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }
    .download-section-title {
      margin: 0 0 19px;
      color: #142c50;
      font-size: 27px;
    }
    .download-faq {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      margin-bottom: 52px;
    }
    .faq-item {
      padding: 20px 22px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 6px;
    }
    .faq-item h3 {
      margin: 0 0 7px;
      color: #243c5d;
      font-size: 15px;
    }
    .faq-item p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }
    .download-cta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 28px 30px;
      background: #122b51;
      color: #fff;
      border-radius: 7px;
    }
    .download-cta h2 {
      margin: 0 0 5px;
      font-size: 22px;
    }
    .download-cta p {
      margin: 0;
      color: #cbd8ea;
      font-size: 13px;
    }
    .download-cta .download-button {
      flex: 0 0 auto;
      background: #fff;
      color: var(--theme);
    }
    .download-cta .download-button:hover { background: #eaf1fb; }

    .footer {
      color: #d1dbea;
      background: #101c32;
    }
    .footer-main {
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr 1fr;
      gap: 36px;
      padding-top: 52px;
      padding-bottom: 42px;
    }
    .footer h3 {
      margin: 0 0 14px;
      color: #fff;
      font-size: 15px;
    }
    .footer p {
      margin: 0 0 8px;
      color: #aebbd0;
      font-size: 13px;
    }
    .footer-links { display: grid; gap: 8px; }
    .footer-links a,
    .footer-contact a {
      color: #b9c6d9;
      font-size: 13px;
    }
    .footer-links a:hover,
    .footer-contact a:hover { color: #fff; }
    .footer-brand h3 { font-size: 18px; }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 17px;
      padding-bottom: 18px;
      border-top: 1px solid rgba(255,255,255,.12);
      color: #91a0b8;
      font-size: 12px;
    }

    @media (max-width: 1050px) {
      .main-nav { display: none; }
      .hamburger { display: block; }
      .header-btns { margin-left: auto; }
      .download-primary { grid-template-columns: 1fr; }
    }
    @media (max-width: 700px) {
      .container { width: min(100% - 28px, 560px); }
      .topbar-inner {
        min-height: 46px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0;
      }
      .topbar-contact { display: none; }
      .header-inner { min-height: 66px; gap: 10px; }
      .logo { min-width: 0; font-size: 14px; }
      .member-link { display: none; }
      .open-account { padding: 0 12px; }
      .download-page-main { padding: 46px 0 62px; }
      .download-intro { margin-bottom: 30px; }
      .download-intro h1 { font-size: 34px; }
      .download-intro p { font-size: 14px; }
      .download-panel { padding: 23px; }
      .download-steps,
      .download-faq { grid-template-columns: 1fr; }
      .download-section-title { font-size: 23px; }
      .download-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
      }
      .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
    }
    @media (max-width: 420px) {
      .footer-main { grid-template-columns: 1fr; }
      .footer-brand { grid-column: auto; }
      .header-btns { gap: 6px; }
      .open-account { font-size: 12px; }
    }