:root {
      --theme: #0B3D91;
      --theme-template: {主题色};
      --theme-dark: #07285f;
      --theme-soft: #eaf1fb;
      --ink: #172033;
      --muted: #647087;
      --line: #dce2eb;
      --surface: #ffffff;
      --page: #f5f7fa;
      --success: #18794e;
      --warning: #b55b16;
      --shadow: 0 12px 32px rgba(21, 37, 63, 0.09);
      --container: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--page);
      font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      line-height: 1.65;
    }

    body,
    button,
    input,
    textarea,
    select {
      font-size: 16px;
      letter-spacing: 0;
    }

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

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

    button {
      font: inherit;
    }

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

    .topbar {
      color: #dfe9f9;
      background: #081d3e;
      font-size: 13px;
    }

    .topbar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .topbar a:hover {
      color: #ffffff;
    }

    .header {
      position: relative;
      z-index: 50;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid var(--line);
    }

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

    .logo {
      min-width: 190px;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--theme-dark);
      font-weight: 800;
    }

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

    .logo span {
      max-width: 170px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-nav {
      margin-left: auto;
      align-self: stretch;
    }

    .nav-list {
      height: 100%;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      list-style: none;
    }

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

    .nav-link {
      height: 100%;
      padding: 0 13px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #263247;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

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

    .has-arrow::after {
      width: 6px;
      height: 6px;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 0;
      visibility: hidden;
      opacity: 0;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .dropdown-panel {
      width: 300px;
      padding: 18px;
    }

    .mega-menu {
      width: min(720px, calc(100vw - 40px));
      padding: 22px;
    }

    .nav-item:nth-last-child(-n+3) .mega-menu {
      left: auto;
      right: 0;
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:focus-within > .mega-menu {
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 12px;
      content: "";
    }

    .panel-title,
    .mega-block h3 {
      margin: 0 0 12px;
      color: var(--theme-dark);
      font-size: 14px;
    }

    .panel-list {
      display: grid;
      gap: 6px;
    }

    .panel-list a {
      padding: 8px 9px;
      color: #46546a;
      border-radius: 4px;
      font-size: 14px;
    }

    .panel-list a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .mega-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
      gap: 24px;
    }

    .mega-block {
      min-width: 0;
    }

    .mega-block p {
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 14px;
    }

    .broker-mini,
    .video-mini,
    .tool-mini,
    .product-mini {
      min-width: 0;
      padding: 9px;
      display: flex;
      align-items: center;
      gap: 10px;
      border-radius: 4px;
    }

    .broker-mini:hover,
    .video-mini:hover,
    .tool-mini:hover,
    .product-mini:hover {
      background: var(--theme-soft);
    }

    .broker-mini img,
    .tool-mini img {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      object-fit: contain;
      background: #f5f7fa;
      border: 1px solid var(--line);
      border-radius: 4px;
    }

    .video-mini img,
    .product-mini img {
      width: 58px;
      height: 40px;
      flex: 0 0 auto;
      object-fit: cover;
      background: #eef1f5;
      border-radius: 4px;
    }

    .broker-mini span,
    .video-mini span,
    .tool-mini span,
    .product-mini span {
      min-width: 0;
      display: grid;
    }

    .broker-mini strong,
    .video-mini strong,
    .tool-mini strong,
    .product-mini strong,
    .broker-mini small,
    .video-mini small,
    .tool-mini small,
    .product-mini small {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .broker-mini strong,
    .video-mini strong,
    .tool-mini strong,
    .product-mini strong {
      color: #263247;
      font-size: 13px;
    }

    .broker-mini small,
    .video-mini small,
    .tool-mini small,
    .product-mini small {
      color: var(--muted);
      font-size: 12px;
    }

    .mega-footer {
      margin-top: 12px;
      padding: 10px 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .member-link,
    .open-account {
      min-height: 38px;
      padding: 8px 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

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

    .open-account {
      color: #ffffff;
      background: var(--theme);
      border: 1px solid var(--theme);
    }

    .member-link:hover {
      background: var(--theme-soft);
    }

    .open-account:hover {
      background: var(--theme-dark);
    }

    .hamburger {
      width: 42px;
      height: 42px;
      padding: 0;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      color: var(--ink);
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 4px;
      cursor: pointer;
    }

    .hamburger span {
      width: 19px;
      height: 2px;
      display: block;
      background: currentColor;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

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

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

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

    .drawer-overlay {
      position: fixed;
      z-index: 80;
      inset: 0;
      visibility: hidden;
      opacity: 0;
      background: rgba(6, 18, 38, 0.58);
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      z-index: 90;
      top: 0;
      right: 0;
      width: min(390px, 92vw);
      height: 100dvh;
      overflow-y: auto;
      transform: translateX(100%);
      background: #ffffff;
      box-shadow: -18px 0 42px rgba(9, 24, 51, 0.2);
      transition: transform 0.24s ease;
    }

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

    .drawer-head {
      min-height: 70px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: #ffffff;
      background: var(--theme-dark);
    }

    .drawer-head span {
      min-width: 0;
      margin-right: auto;
    }

    .drawer-head a {
      padding: 7px 11px;
      background: #ffffff;
      color: var(--theme-dark);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      padding: 0;
      color: #ffffff;
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 4px;
      cursor: pointer;
      font-size: 24px;
      line-height: 1;
    }

    .drawer-menu {
      padding: 12px 18px 28px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 48px;
      padding: 12px 4px;
      display: flex;
      align-items: center;
      color: #263247;
      background: transparent;
      border: 0;
      border-bottom: 1px solid var(--line);
      cursor: pointer;
      text-align: left;
      font-weight: 700;
    }

    .drawer-toggle {
      justify-content: space-between;
    }

    .drawer-toggle::after {
      width: 8px;
      height: 8px;
      content: "";
      border-right: 2px solid var(--muted);
      border-bottom: 2px solid var(--muted);
      transform: rotate(45deg);
      transition: transform 0.2s ease;
    }

    .drawer-toggle.active::after {
      transform: rotate(225deg);
    }

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: #f7f9fc;
      transition: max-height 0.28s ease;
    }

    .drawer-submenu.open {
      max-height: 720px;
    }

    .drawer-submenu a {
      padding: 10px 14px;
      display: block;
      color: #526078;
      border-bottom: 1px solid #e9edf3;
      font-size: 14px;
    }

    .drawer-submenu a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .about-page {
      overflow: hidden;
    }

    .about-page .about-intro {
      position: relative;
      padding: 84px 0 76px;
      color: #ffffff;
      background: #0b254f;
      border-bottom: 5px solid var(--theme);
    }

    .about-page .about-intro::after {
      position: absolute;
      right: 5%;
      bottom: 0;
      width: 42%;
      height: 1px;
      content: "";
      background: rgba(255, 255, 255, 0.35);
      box-shadow: 0 -46px rgba(255, 255, 255, 0.08), 0 -92px rgba(255, 255, 255, 0.05);
    }

    .about-page .intro-inner {
      position: relative;
      z-index: 1;
      max-width: 850px;
    }

    .about-page .section-label {
      margin: 0 0 14px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: #b9d5ff;
      font-size: 13px;
      font-weight: 800;
    }

    .about-page .section-label::before {
      width: 26px;
      height: 3px;
      content: "";
      background: #6ba5ff;
    }

    .about-page .about-intro h1 {
      max-width: 820px;
      margin: 0;
      font-size: clamp(36px, 6vw, 66px);
      line-height: 1.12;
      letter-spacing: 0;
    }

    .about-page .about-intro p {
      max-width: 720px;
      margin: 24px 0 0;
      color: #d5e1f3;
      font-size: 18px;
    }

    .about-page .intro-facts {
      margin-top: 36px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .about-page .intro-facts span {
      padding: 9px 13px;
      color: #eef5ff;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 700;
    }

    .about-page .about-section {
      padding: 76px 0;
    }

    .about-page .about-section.white {
      background: #ffffff;
    }

    .about-page .section-heading {
      max-width: 720px;
      margin-bottom: 34px;
    }

    .about-page .section-heading h2 {
      margin: 0 0 13px;
      color: #14213a;
      font-size: clamp(27px, 4vw, 40px);
      line-height: 1.24;
      letter-spacing: 0;
    }

    .about-page .section-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
    }

    .about-page .mission-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
      gap: 48px;
      align-items: start;
    }

    .about-page .mission-copy p {
      margin: 0 0 18px;
      color: #4e5c72;
      font-size: 17px;
    }

    .about-page .mission-note {
      padding: 26px;
      color: #ffffff;
      background: var(--theme);
      border-left: 5px solid #80adf2;
      border-radius: 4px;
      box-shadow: var(--shadow);
    }

    .about-page .mission-note strong {
      display: block;
      margin-bottom: 9px;
      font-size: 19px;
    }

    .about-page .mission-note p {
      margin: 0;
      color: #dfebfb;
    }

    .about-page .service-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .about-page .service-card {
      min-height: 240px;
      padding: 26px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-top: 4px solid var(--theme);
      border-radius: 6px;
      box-shadow: 0 8px 22px rgba(21, 37, 63, 0.05);
    }

    .about-page .service-index {
      width: 38px;
      height: 38px;
      margin-bottom: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 900;
    }

    .about-page .service-card h3 {
      margin: 0 0 10px;
      color: #15233d;
      font-size: 20px;
    }

    .about-page .service-card p {
      margin: 0;
      color: var(--muted);
    }

    .about-page .method-list {
      position: relative;
      margin: 0;
      padding: 0;
      display: grid;
      list-style: none;
    }

    .about-page .method-item {
      position: relative;
      min-height: 126px;
      padding: 0 0 30px 84px;
    }

    .about-page .method-item::before {
      position: absolute;
      top: 48px;
      bottom: 0;
      left: 25px;
      width: 2px;
      content: "";
      background: #cdd8e9;
    }

    .about-page .method-item:last-child::before {
      display: none;
    }

    .about-page .method-number {
      position: absolute;
      top: 0;
      left: 0;
      width: 52px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--theme);
      border: 6px solid #dfe9f8;
      border-radius: 50%;
      font-size: 13px;
      font-weight: 900;
    }

    .about-page .method-item h3 {
      margin: 0 0 7px;
      color: #15233d;
      font-size: 20px;
    }

    .about-page .method-item p {
      max-width: 760px;
      margin: 0;
      color: var(--muted);
    }

    .about-page .principle-band {
      color: #ffffff;
      background: #101b2e;
    }

    .about-page .principle-band .section-heading h2 {
      color: #ffffff;
    }

    .about-page .principle-band .section-heading p {
      color: #b9c5d8;
    }

    .about-page .principle-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1px;
      overflow: hidden;
      background: #344158;
      border: 1px solid #344158;
      border-radius: 6px;
    }

    .about-page .principle {
      min-height: 210px;
      padding: 26px 22px;
      background: #17243a;
    }

    .about-page .principle strong {
      display: block;
      margin-bottom: 11px;
      color: #87b7ff;
      font-size: 18px;
    }

    .about-page .principle p {
      margin: 0;
      color: #c3cede;
      font-size: 14px;
    }

    .about-page .risk-panel {
      padding: 32px;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 24px;
      align-items: start;
      background: #fffaf2;
      border: 1px solid #ead8bd;
      border-left: 5px solid var(--warning);
      border-radius: 6px;
    }

    .about-page .risk-mark {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--warning);
      border-radius: 50%;
      font-size: 22px;
      font-weight: 900;
    }

    .about-page .risk-panel h2 {
      margin: 0 0 10px;
      color: #4d331f;
      font-size: 24px;
    }

    .about-page .risk-panel p {
      margin: 0;
      color: #71563f;
    }

    .about-page .about-cta {
      padding: 58px 0;
      background: var(--theme-soft);
      border-top: 1px solid #cfdbec;
    }

    .about-page .cta-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
    }

    .about-page .cta-copy h2 {
      margin: 0 0 8px;
      color: #11213e;
      font-size: 29px;
    }

    .about-page .cta-copy p {
      margin: 0;
      color: var(--muted);
    }

    .about-page .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .about-page .cta-primary,
    .about-page .cta-secondary {
      min-height: 46px;
      padding: 11px 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      font-weight: 800;
    }

    .about-page .cta-primary {
      color: #ffffff;
      background: var(--theme);
      border: 1px solid var(--theme);
    }

    .about-page .cta-secondary {
      color: var(--theme);
      background: #ffffff;
      border: 1px solid #b8c9e3;
    }

    .about-page .cta-primary:hover {
      background: var(--theme-dark);
    }

    .about-page .cta-secondary:hover {
      background: #f7faff;
    }

    .footer {
      color: #c3cede;
      background: #09172d;
    }

    .footer-main {
      padding: 56px 0 42px;
      display: grid;
      grid-template-columns: 1.35fr 1fr 1fr 1fr;
      gap: 42px;
    }

    .footer h3 {
      margin: 0 0 15px;
      color: #ffffff;
      font-size: 16px;
    }

    .footer p {
      margin: 0 0 9px;
      font-size: 14px;
    }

    .footer-brand p {
      max-width: 310px;
    }

    .footer-links {
      display: grid;
      gap: 8px;
    }

    .footer-links a,
    .footer-contact a {
      color: #c3cede;
      font-size: 14px;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: #9eabc0;
      border-top: 1px solid #27344a;
      font-size: 13px;
    }

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

      .hamburger {
        display: flex;
      }

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

    @media (max-width: 900px) {
      .about-page .mission-layout {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .about-page .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .about-page .principle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

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

    @media (max-width: 680px) {
      .container {
        width: min(calc(100% - 28px), var(--container));
      }

      .topbar-inner {
        min-height: 56px;
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
      }

      .topbar-contact {
        width: 100%;
        flex-wrap: wrap;
        gap: 2px 14px;
      }

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

      .logo {
        min-width: 0;
      }

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

      .logo span {
        max-width: 118px;
      }

      .member-link {
        display: none;
      }

      .open-account {
        padding-inline: 11px;
      }

      .about-page .about-intro {
        padding: 58px 0 54px;
      }

      .about-page .about-intro h1 {
        font-size: 38px;
      }

      .about-page .about-intro p {
        font-size: 16px;
      }

      .about-page .about-section {
        padding: 54px 0;
      }

      .about-page .service-grid,
      .about-page .principle-grid {
        grid-template-columns: 1fr;
      }

      .about-page .service-card,
      .about-page .principle {
        min-height: auto;
      }

      .about-page .method-item {
        padding-left: 66px;
      }

      .about-page .method-number {
        width: 44px;
        height: 44px;
      }

      .about-page .method-item::before {
        top: 40px;
        left: 21px;
      }

      .about-page .risk-panel {
        padding: 24px 20px;
        grid-template-columns: 1fr;
      }

      .about-page .cta-inner {
        align-items: flex-start;
        flex-direction: column;
      }

      .about-page .cta-actions {
        width: 100%;
      }

      .about-page .cta-primary,
      .about-page .cta-secondary {
        flex: 1 1 150px;
      }

      .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .footer-bottom {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
      }
    }

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

      *,
      *::before,
      *::after {
        transition-duration: 0.01ms !important;
      }
    }